#include "fxcc/imgui/Editor.h"
#include "fxcc/core/graph/opengl3/phong/Effect3d.h"

using namespace fxcc::graph::opengl3;
using namespace fxcc::imgui;

template <>
bool Editor::Edit(const std::string& label, phong::Material& inst)
{
    ColorInst<glm::vec3>("albedo", inst.ambient);
    ColorInst<glm::vec3>("diffuse", inst.diffuse);
    ColorInst<glm::vec3>("specular", inst.specular);
    return false;
}
